package org.shop.pro.serviceImpl;

import java.util.List;

import org.shop.pro.entity.Types;
import org.shop.pro.mapper.TypesMapper;
import org.shop.pro.service.TypesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TypesServiceImpl implements TypesService {
@Autowired
TypesMapper types;
	
	public List<Types> selectlist(int tid) {
		
		return types.selectlist(tid);
	}

	@Override
	public List<Types> typenamelist(int shopid) {
		// TODO Auto-generated method stub
		return types.typenamelist(shopid);
	}

}
